package com.eastfair.venueservice.dto;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 盘点记录明细
 * </p>
 *
 * @author linan
 * @since 2022-09-22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "ServiceInventoryCheckDetailSaveDTO", description = "盘点记录明细")
public class ServiceInventoryCheckDetailSaveDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 是否启用（确认状态）：1是 已确认；0否 未确认
     */
    @ApiModelProperty(value = "是否启用（确认状态）：1是 已确认；0否 未确认")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 盘点单号
     */
    @ApiModelProperty(value = "盘点单号")
    @Size(max = 255, message = "盘点单号长度不能超过255")
    private String checkNo;
    /**
     * 库存编码
     */
    @ApiModelProperty(value = "库存编码")
    @Size(max = 255, message = "库存编码长度不能超过255")
    private String inventoryCode;
    /**
     * 系统库存
     */
    @ApiModelProperty(value = "系统库存")
    private BigDecimal systemNum;
    /**
     * 盘点库存
     */
    @ApiModelProperty(value = "盘点库存")
    private BigDecimal checkNum;
    /**
     * 盘盈数量
     */
    @ApiModelProperty(value = "盘盈数量")
    private BigDecimal surplusNum;
    /**
     * 盘亏数量
     */
    @ApiModelProperty(value = "盘亏数量")
    private BigDecimal lossNum;

}
